I don't think I'm doing my pathlength correction right

In [2]:
from PlateAnalysis_b import PlateDataset


Plate = PlateDataset('20191202_KPi_Triton.CSV','20191202_pathlength_kpi_Triton.CSV')
Plate_corr = PlateDataset('20191202_KPi_Triton.CSV','20191202_pathlength_kpi_Triton.CSV',True)

CompoundMap = dict(zip(range(1,25),['Lauric Acid']*6 + \
                       ['Arachadionic Acid']*6 + \
                       ['Palmitic Acid']*6 + \
                       ['4-Phenylimidazole']*6))

for i in range(1,25):
    print(i,': Not Corrected    '+ CompoundMap[i])
    NormalizedTraces, DifferenceSpec, DiffDiff = Plate.AnalysisPipeline_1(i)
    Plate.PlotTrace(NormalizedTraces)
    Plate.PlotTrace(DifferenceSpec)
    
    print(i,' :Corrected    '+ CompoundMap[i])
    NormalizedTraces, DifferenceSpec, DiffDiff = Plate_corr.AnalysisPipeline_1(i)
    Plate_corr.PlotTrace(NormalizedTraces)
    Plate_corr.PlotTrace(DifferenceSpec)
1 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
1  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
2 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
2  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
3 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
3  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
4 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
4  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
5 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
5  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
6 : Not Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
6  :Corrected    Lauric Acid
No description has been provided for this image
No description has been provided for this image
7 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
7  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
8 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
8  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
9 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
9  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
10 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
10  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
11 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
11  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
12 : Not Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
12  :Corrected    Arachadionic Acid
No description has been provided for this image
No description has been provided for this image
13 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
13  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
14 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
14  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
15 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
15  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
16 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
16  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
17 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
17  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
18 : Not Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
18  :Corrected    Palmitic Acid
No description has been provided for this image
No description has been provided for this image
19 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
19  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
20 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
20  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
21 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
21  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
22 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
22  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
23 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
23  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
24 : Not Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image
24  :Corrected    4-Phenylimidazole
No description has been provided for this image
No description has been provided for this image